Package org.neo4j.helpers.collection

Collections utilities - Iterator/Iterable utilities and creating Maps.

See:
          Description

Class Summary
ArrayIterator<T>  
CatchingIteratorWrapper<T,U>  
CollectionWrapper<T,U> Wraps a Collection, making it look (and function) like a collection holding another type of items.
CombiningIterable<T> Combining one or more Iterables, making them look like they were one big iterable.
CombiningIterator<T> Combining one or more Iterators, making them look like they were one big iterator.
FilteringIterable<T> An iterable which filters another iterable, only letting items with certain criterias pass through.
FilteringIterator<T> An iterator which filters another iterator, only letting items with certain criterias pass through.
IterableWrapper<T,U> Wraps an Iterable so that it returns items of another type.
IteratorUtil Contains common functionality regarding Iterators.
IteratorWrapper<T,U> Wraps an Iterator so that it returns items of another type.
MapUtil Utility to create Maps.
NestingIterable<T,U> For each item in the supplied iterator (called "surface item") there's instantiated an iterator from that item which is iterated before moving on to the next surface item.
NestingIterator<T,U> For each item in the supplied iterator (called "surface item") there's instantiated an iterator from that item which is iterated before moving on to the next surface item.
PrefetchingIterator<T> Abstract class for how you usually implement iterators when you don't know how many objects there are (which is pretty much every time) Basically the PrefetchingIterator.hasNext() method will look up the next object and cache it with PrefetchingIterator.setPrefetchedNext(Object).
RangeIterator Iterates over a range, where the start value is inclusive, but the end value is exclusive.
 

Package org.neo4j.helpers.collection Description

Collections utilities - Iterator/Iterable utilities and creating Maps.



Copyright © 2010 Neo4j. All Rights Reserved.